package com.transaction.seataorder.mapper;
import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.transaction.seataorder.model.Order;
import com.transaction.seataorder.vo.OrderVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface OrderMapper extends BaseMapper<Order> {
    /**
     * 自定义分页查询
     */
    Page<Order> selectPageVo(@Param("page") Page page, @Param("id") Integer id);

    List<OrderVo> selectNum();
}
